﻿/*
* 作 者: 槐尧
* 创建时间: 2016/1/11 16:20:46
* 说明:  照片插件管理
*/
using UnityEngine;
using System.Collections;

/// <summary>
/// 照片加载管理类
/// </summary>
public class PhotoPluginManager 
{
    /// <summary>
    /// 拍照
    /// </summary>
    public static void TakePhoto()
    {
#if UNITY_ANDROID
        AndroidPluginPhoto.Instance.TakePhoto();
#elif UNITY_IPHONE
        IOSPluginPhoto.Instance.TakePhoto();
#endif
    }

    /// <summary>
    /// 本地读取
    /// </summary>
    public static void LocalPhoto()
    {
#if UNITY_ANDROID
        AndroidPluginPhoto.Instance.LocalPhoto();
#elif UNITY_IPHONE
        IOSPluginPhoto.Instance.LocalPhoto();
#endif
    }
}
